<?php /* Smarty version 2.6.18, created on 2012-01-10 13:27:25
         compiled from duyet_deptlist.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => 'Duyet deptlist ')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="" method="post" name="sanpham" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25" colspan="2">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="3">
<hr></td>
</tr>
  <!--
  <tr>
    <td width="25%"><?php echo $this->_tpl_vars['lbl_MABC']; ?>
</td>
     <td colspan="3" style="color:#FF0000"><input name="MABC" id="MABC" type="text" style="background:<?php echo $this->_tpl_vars['colorMABC']; ?>
" value="<?php echo $this->_tpl_vars['MABC']; ?>
" size="20" maxlength="5" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?>readonly="readOnly" <?php endif; ?>/></td>
  </tr>
  -->
  
  <!--
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_COTSO']; ?>
</td>
    <td colspan="3"><input name="COTSO" id="COTSO" type="text" readonly="readOnly" value="<?php echo $this->_tpl_vars['COTSO']; ?>
" size="20" maxlength="20" class="textright"/></td>
  </tr>
  -->
<tr>
<td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td nowrap="nowrap" width="25%"><?php echo $this->_tpl_vars['lbl_BRNCODE']; ?>
</td>
    <td colspan="3" align="left"><select name="BRNCODE" id="BRNCODE" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> disabled="disabled" <?php endif; ?>>
		 <?php $_from = $this->_tpl_vars['BRNCODE']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
	  	<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['activeBRNCODE']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['v']; ?>
</option>
	  <?php endforeach; endif; unset($_from); ?>
    </select>
	<input type="hidden" name="BRNCODEhidden" id="BRNCODEhidden" value="<?php echo $this->_tpl_vars['activeBRNCODE']; ?>
" /></td>
  </tr>
  <tr>
    <td height="26"><?php echo $this->_tpl_vars['lbl_DEPTCD']; ?>
</td>
    <td colspan="2" style="color:#FF0000"><input name="DEPTCD" id="DEPTCD" type="text" style="background:<?php echo $this->_tpl_vars['colorDEPTCD']; ?>
" value="<?php echo $this->_tpl_vars['DEPTCD']; ?>
" size="20" maxlength="2" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> readonly="readOnly" <?php endif; ?>/>
      * <input type="submit" id="replacement_find" name="find" value="    " <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> disabled="disabled" <?php endif; ?>/></td>
	   <td>&nbsp;</td>
    <td nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_DEPTNAME']; ?>
</td>
    <td colspan="2"><span style="color:#FF0000">
      <input name="DEPTNAME" id="DEPTNAME" type="text" style="background:<?php echo $this->_tpl_vars['colorDEPTNAME']; ?>
" value="<?php echo $this->_tpl_vars['DEPTNAME']; ?>
" size="50" maxlength="50" readonly="readonly"/>
      *</span></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_REMARKS']; ?>
</td>
    <td colspan="2"><input name="REMARKS" id="REMARKS" type="text" style="background:<?php echo $this->_tpl_vars['colorREMARKS']; ?>
" value="<?php echo $this->_tpl_vars['REMARKS']; ?>
" size="50" maxlength="50" readonly="readonly" /></td>
    <td nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_MANAGER_CODE']; ?>
</td>
    <td><span style="color:#FF0000">
      <input name="MANAGER_CODE" id="MANAGER_CODE" type="text" style="background:<?php echo $this->_tpl_vars['colorMANAGER_CODE']; ?>
" value="<?php echo $this->_tpl_vars['MANAGER_CODE']; ?>
" size="20" maxlength="10" readonly="readonly" />
      <input name="MANAGER_NAME" id="MANAGER_NAME" type="text" style="background:<?php echo $this->_tpl_vars['colorMANAGER_NAME']; ?>
" value="<?php echo $this->_tpl_vars['MANAGER_NAME']; ?>
" size="31" maxlength="50" readonly="readonly" />
    </span></td>
    <td>&nbsp;</td>
    <td nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_OPENDATE']; ?>
</td>
    <td><span style="color:#FF0000">
      <input name="OPENDATE" type="text" id="OPENDATE" style="background:<?php echo $this->_tpl_vars['colorOPENDATE']; ?>
" onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)" value="<?php echo $this->_tpl_vars['OPENDATE']; ?>
" size="25" readonly="readonly" />
    </span></td>
    <td>&nbsp;</td>
    <td nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_LICENC']; ?>
</td>
    <td><input name="LICENCE" id="LICENCE" type="hidden" style="background:<?php echo $this->_tpl_vars['colorLICENCE']; ?>
" value="<?php echo $this->_tpl_vars['LICENCE']; ?>
" size="50" maxlength="50" readonly="readonly" /></td>
    <td>&nbsp;</td>
    <td nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_VCSEQNO']; ?>
</td>
    <td><input name="VCSEQNO" id="VCSEQNO" type="text" style="background:<?php echo $this->_tpl_vars['colorVCSEQNO']; ?>
" value="<?php echo $this->_tpl_vars['VCSEQNO']; ?>
" size="20" maxlength="7" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" readonly="readonly"/></td>
    <td>&nbsp;</td>
    <td nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_COSTID']; ?>
</td>
    <td><input name="COSTID" id="COSTID" type="text" style="background:<?php echo $this->_tpl_vars['colorCOSTID']; ?>
" value="<?php echo $this->_tpl_vars['COSTID']; ?>
" size="20" maxlength="10" readonly="readonly" />
        <input type="hidden" onclick="mywindow = window.open('costid_id.php?name=COSTID', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findcostid" id="replacement_binoculars" value="     " /></td>
    <td>&nbsp;</td>
    <td nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_ENABLED']; ?>
</td>
    <td><select name="ENABLED" disabled="disabled">
      <option value=""></option>
      
      
		 <?php $_from = $this->_tpl_vars['ENABLED']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?> 	 
      
      
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['activeENABLED']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
      
      
	  <?php endforeach; endif; unset($_from); ?> 
    
    
    </select></td>
    <td>&nbsp;</td>
    <td nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_DEPCRD']; ?>
</td>
    <td><input name="DEPCRD" id="DEPCRD" type="text" style="background:<?php echo $this->_tpl_vars['colorDEPCRD']; ?>
" value="<?php echo $this->_tpl_vars['DEPCRD']; ?>
" size="20" maxlength="10" onkeyup="this.value=this.value.toUpperCase().replace(' ','')" readonly="readonly" /></td>
    <td>&nbsp;</td>
    <td nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_SUBBRNCODE']; ?>
</td>
    <td><input name="SUBBRNCODE" id="SUBBRNCODE" type="text" style="background:<?php echo $this->_tpl_vars['colorSUBBRNCODE']; ?>
" value="<?php echo $this->_tpl_vars['SUBBRNCODE']; ?>
" size="20" maxlength="2" onkeyup="this.value=this.value.toUpperCase().replace(' ','')" readonly="readonly" /></td>
    <td><?php echo $this->_tpl_vars['lbl_TCD']; ?>
</td>
    <td nowrap="nowrap"><select name="TCD" id="TCD" disabled="disabled">
      <option value=""></option>
            
		 <?php $_from = $this->_tpl_vars['cbo_TCD']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>      
      
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['TCD']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
            
	  <?php endforeach; endif; unset($_from); ?>    
    
    </select></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_CTRID']; ?>
</td>
    <td><input name="CTRID" id="CTRID" type="text" style="background:<?php echo $this->_tpl_vars['colorCTRID']; ?>
" value="<?php echo $this->_tpl_vars['CTRID']; ?>
" size="20" maxlength="3"  onkeyup="this.value=this.value.toUpperCase().replace(' ','')" readonly="readonly" /></td>
    <td><?php echo $this->_tpl_vars['lbl_STATUS']; ?>
</td>
    <td nowrap="nowrap"><select name="STATUS" id="STATUS" disabled="disabled">
      <option value=""></option>
		 <?php $_from = $this->_tpl_vars['cbo_STATUS']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['v']):
?> 	 
      
      <option value="<?php echo $this->_tpl_vars['v']; ?>
" <?php if ($this->_tpl_vars['v'] == $this->_tpl_vars['STATUS']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['v']; ?>
</option>
      
	  <?php endforeach; endif; unset($_from); ?> 
    
    </select></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_ADDRESS']; ?>
</td>
    <td><input name="ADDRESS" id="ADDRESS" type="text" style="background:<?php echo $this->_tpl_vars['colorADDRESS']; ?>
" value="<?php echo $this->_tpl_vars['ADDRESS']; ?>
" size="50" maxlength="50" readonly="readonly" /></td>
	<td><?php echo $this->_tpl_vars['lbl_STATUSVO']; ?>
</td>
	<td><select name="STATUSVO" id="STATUSVO" disabled="disabled">
	  <?php $_from = $this->_tpl_vars['cbo_STATUSVO']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['v']):
?> 	 
     <option value="<?php echo $this->_tpl_vars['v']; ?>
" <?php if ($this->_tpl_vars['v'] == $this->_tpl_vars['STATUSVO']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['v']; ?>
</option>
	  <?php endforeach; endif; unset($_from); ?> 
</select>	</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_PHONE']; ?>
</td>
    <td ><input name="PHONE" type="text" id="PHONE" style="text-align:left;" onkeypress="return numberOnly(event);" value="<?php echo $this->_tpl_vars['PHONE']; ?>
" size="20" maxlength="50" readonly="readonly"/></td>
	<td><?php echo $this->_tpl_vars['lbl_FAX']; ?>
</td>
	<td><input name="FAX" id="FAX" type="text" style="background:<?php echo $this->_tpl_vars['colorFAX']; ?>
" value="<?php echo $this->_tpl_vars['FAX']; ?>
" size="20" maxlength="50" onkeypress="return numberOnly(event);"  readonly="readonly"/></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_CSHACT']; ?>
</td>
    <td><input name="CSHACT2" id="CSHACT2" type="text" style="background:<?php echo $this->_tpl_vars['colorCSHACT']; ?>
" value="<?php echo $this->_tpl_vars['CSHACT']; ?>
" size="20" maxlength="10" readonly="readonly" />
      <span style="color:#FF0000">*</span>
      <input type="hidden" onclick="mywindow = window.open('microbank_id.php?name=CSHACT', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat22" id="replacement_binoculars" value="     " /></td>
    <td>&nbsp;</td>
    <td nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_CSHACT_X']; ?>
</td>
    <td><input name="CSHACT_X" type="text" id="CSHACT_X" style="text-align:left;" value="<?php echo $this->_tpl_vars['CSHACT_X']; ?>
" size="20" maxlength="10" readonly="readonly"/></td>
    <td>&nbsp;</td>
    <td nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_CSHACT_Z']; ?>
</td>
    <td><input name="CSHACT_Z" type="text" id="CSHACT_Z" style="text-align:left;" value="<?php echo $this->_tpl_vars['CSHACT_Z']; ?>
" size="20" maxlength="10" readonly="readonly"/></td>
    <td>&nbsp;</td>
    <td nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <!--
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_COTSO']; ?>
</td>
    <td colspan="3"><input name="COTSO" id="COTSO" type="text" readonly="readOnly" value="<?php echo $this->_tpl_vars['COTSO']; ?>
" size="20" maxlength="20" class="textright"/></td>
  </tr>
  -->
  </tr>
</table></td>
</tr>
<tr>
   <td align="right" nowrap="nowrap" colspan="3">
     <p>&nbsp;  </p>
     <p>
       <input type="button" name="cancle" id="cancle" value="<?php echo $this->_tpl_vars['ten_cancle']; ?>
" class="button_style" onclick="activeform(this.form,'DEPTCD-BRNCODE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
       <input value="<?php echo $this->_tpl_vars['lbl_tuchoi']; ?>
" name="tuchoi" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" <?php if ($this->_tpl_vars['activefield'] == 'disabled'): ?>disabled="disabled" <?php endif; ?>/>
       <input value="<?php echo $this->_tpl_vars['lbl_duyet']; ?>
" name="duyet" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" <?php if ($this->_tpl_vars['activefield'] == 'disabled'): ?>disabled="disabled" <?php endif; ?>  />  
         </p></td>
</tr>
<tr>
<td colspan="3"><input value="<?php echo $this->_tpl_vars['lbl_lichsuthaydoi']; ?>
" name="lichsuthaydoi" type="button" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" onclick="mywindow = window.open('lich_su_deptlist.php?BRNCODE=<?php echo $this->_tpl_vars['activeBRNCODE']; ?>
&DEPTCD=<?php echo $this->_tpl_vars['DEPTCD']; ?>
', 'mywindow','menubar=0,scrollbars=1,resizable=0,width=700,height=300');mywindow.moveTo((screen.width-700)/2,(screen.height-300)/2);" /></td>
</tr>
<tr>
<td colspan="3"><hr></td>
</tr>
<tr>
<td colspan="2">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>